{extends file = "assets::smarty-templates::Master"|ToPath}

{block name="title"}Papelera / Lineas{/block}

{block name="page-id"}papelera-lineas-page{/block}

{block name="content"}
<ul data-role="listview" class="list" data-filter="true" data-inset="false" data-split-icon="check">
    {foreach $lineas as $linea}
        <li>
            <a>
                <h2 class="abreviatura">{$linea->getAbreviatura()}</h2>
                <p class="nombre">
                    {$linea->getNombre()} 
                </p>
            </a>
            <a href="{url call='Papelera::RestaurarLineas::restaurar' id=$linea->getIdLinea()}">Restaurar</a>
        </li>
    {foreachelse}
        <li>
            No hay lineas eliminadas.
        </li>
    {/foreach}
</ul>
{/block}